Console Configuration

After installing Logpoint, you can access it through its console with the username li-admin. Then, enter the default password changeme or make an SSH connection.

To make an SSH connection, you need to create and use an SSH pair for the li-admin user. To do that:

  1. Create an SSH pair in Logpoint using the command:

ssh-keygen -t rsa
  1. Copy the public key to authorized keys using the command:

cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
  1. Move the newly created private key to a remote machine. You can use SCP to do this:

scp ~/.ssh/id_rsa.pub <remote-machine-username>@<remote_machine_ip>:
  1. Change the permission of the private key file using the command:

chmod 400 ~/id_rsa
  1. You can now use SSH to connect to Logpoint from the remote machine.

ssh -i ~/id_rsa li-admin@<Logpoint_Server_IP>

You can change the default password using the passwd command.

Note

li-admin users can view the README.txt file in the home folder of their Logpoint.

The following LVM commands can be used by the li-admin users on a Logpoint AWS instance based on the Ext4 filesystem:

pvcreate

Initializes a Physical Volume for later use by the Logical Volume Manager (LVM). A physical volumne can be either a disk partition, a whole disk, a meta device, or a loopback file.

Syntax:

pvcreate <physical volume>

The following example initializes the partition /dev/sdc for later use by the LVM.

Example:

pvcreate /dev/sdc

vgextend

Adds initialized physical volumes to an existing volume group to extend the group’s size. It also lets you re-add a physical volume missing due to a transient device failure, without re-initializing it.

Syntax:

vgextend <volume group> <physical volumes>

The following example initializes the existing volume group vg01 with new physical volumes /dev/sdb/ and /dev/sdc.

Example:

vgextend vg01 /dev/sdb /dev/sdc

lvextend

Extends the size of a logical volume. You can also extend the snapshots of logical volumes using the command.

Syntax:

lvextend <logical volumee> <physical volume>

The following example extends the size of /dev/vg01/lvol01 by 54MB on /dev/sdb3. However, /dev/sdb3 must be a member of the volume group vg01.

Example:

lvextend +54 /dev/vg01/lvol01 /dev/sdb3

resize2fs

Resizes the file system. You can use it to enlarge or shrink an unmounted file system and expand the size of a mounted file system.

Syntax:

resize2fs <device> <size>

The following example resizes the file system on /dev/sbd1 to 1 GB.

Example:

resize2fs /dev/sdb1 1GB

Note

If you don’t specify a size, it defaults to the size of the partition.

For information on other li-admin commands, go to Console Configuration in Install and Upgrade Guide.


Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support